package com.lzy.properties;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 短信配置类
 *
 * @author lzy by 2019/09/10
 */
@Slf4j
@Data
@EqualsAndHashCode
@ConfigurationProperties(prefix = "cn.lzy.sdk.sms")
public class AliyunSmsProperties {

    /**
     * 阿里云短信平台 accessKeyId
     */
    private String accessKeyId = "LTAIaCf8F6Yjegxe";
    /**
     * 阿里云短信平台 accessKeySecret
     */
    private String accessKeySecret = "WAcOsGqLVPuyFDDb9H7YuRY81zAW8H";
    /**
     * 阿里云短信平台 signName
     */
    private String signName = "lzy";
    /**
     * 是否启动短信模块
     */
    private Boolean enabled = false;
    /**
     * 短信平台
     */
    private String platform = "ALIYUNCS";

}
